package com.framework.modules.base.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.framework.common.utils.PageUtils;
import com.framework.common.utils.Query;

import com.framework.modules.base.dao.UserVipinfoDao;
import com.framework.modules.base.entity.UserVipinfoEntity;
import com.framework.modules.base.service.UserVipinfoService;


@Service("userVipinfoService")
public class UserVipinfoServiceImpl extends ServiceImpl<UserVipinfoDao, UserVipinfoEntity> implements UserVipinfoService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<UserVipinfoEntity> page = this.selectPage(
                new Query<UserVipinfoEntity>(params).getPage(),
                new EntityWrapper<UserVipinfoEntity>()
        );

        return new PageUtils(page);
    }

}
